/*
 * Opens a modal popup in the current page.
 */
 function openModalPopup(popupName) {
 	document.getElementById(popupName).style.visibility = "visible";
	var l_elements = document.getElementsByTagName('select');
	for (var i = 0; i < l_elements.length ; i++) {
		l_elements[i].style.visibility = "hidden";
	}
 }